package com.nvn.washiodriver.views;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.TextView;

public class CustomFontTextView extends TextView {
	public CustomFontTextView(Context context) {
		super(context);
	}

	public CustomFontTextView(Context context, AttributeSet attrs) {
		this(context, attrs, 0);
	}

	public CustomFontTextView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
		String fontName  = "Washio-Font.ttf";
		
		Typeface tf = Typeface.createFromAsset(context.getAssets(), "fonts/"+fontName);
		this.setTypeface(tf);
		
	}

}